package com.example.mybatis_puls.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mybatis_puls.mapper.UserMapper;
import com.example.mybatis_puls.pojo.User;
import com.example.mybatis_puls.service.UserService;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * ClassName: UserServiceImpl
 * Package: com.example.mybatis_puls.service
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-14
 * Time: 10:36
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {
    //首先要是实现 UserService 字节的接口 但是UserService继承了IService 那么就要重写IService中的方法
    //但是不需要 IService有自己的实现类 只需要 继承Mybatis——plus提供的实现类 ServiceImpl<**Mapper,实体类>
}
